import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import pub from './assets/js/pub';
import router from './router'
import store from './store'
import './assets/css/base.scss';
import './assets/css/element-variables.scss';

import http from './assets/js/http'
import directives from './directives/index'

Vue.config.productionTip = false

Vue.use(store);
Vue.use(ElementUI);
Vue.prototype.$ELEMENT = { size: 'mini', zIndex: 3000 };

Vue.use(pub);
Vue.use(http);
Vue.use(directives);

new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
